package com.qf.oa_system.entity;

import com.alibaba.druid.support.monitor.annotation.MTable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 学生请假表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StudentsAndLeaves {

    private Integer leaveId;
    private String stuName;
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    private Date leaveTime;
//
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
//    private Date leaveEndTime;

    private String leaveTime;
    private String leaveEndTime;

    private String leaveReason;
    private String leaveTab;
    private String stuPhone;
    private String className;
}
